You need to write a server-side script that parses the script names from the URL or query string, and sends a single response with the contents of all of the scripts.
Make sure to validate the script names to prevent attackers from reading arbitrary files.