I added a custom JS file, that is located under the following:
/skin/frontend/theme/theme/js/frontend.js
But when I run a speedtest, that file is not compressed and loaded into the Magento merged JS file. It is just loaded outside the merged file.
How can I add this file, so that it will be added to the merged JS?