If you combine javascript files, then you must not include <script type="text/javascript" src="somejavascriptfile.js"></script> tags in your combined file. Just copy only the content of those files and paste that in your combined file.