[eluser]xwero[/eluser]
Put the css and javascript that is needed for every page in one file and dynamically add the css and javascript the is needed for the specific page.
Map which css and javascript go where and if you find a pattern you can join the common css and javascript with specific css and javascript for groups of pages, for example a forms.js and forms.css.