In order to speed up page load I decided to consolidate all the CSS and JS files to one or two files.
As for CSS, I think it is quite simple, I will just copy all the CSS files to one file. I will keep the order they are read by the browser and I will also make sure to document each part of the new CSS file so I know which original CSS file it came from.
Would it be possible to do the same with the JS files? Can I just copy all the JS files content into one (or two) files? Again, I will keep the order as they are read by the browser now.
I assume that as many of those JS files were written by others, you cannot consolidate them yourselves but I can do it (keeping all credits intact of course).