This is a solution with 2 entities and a plugin, to enable script minification and bundling in Dynamics CRM 2015. This solution was developed in a CRMOnline instance running CRM2015 Update 1. This solution is completely self contained.
Third Party Code
This solution uses JSMin.net to minify script files.
Please refer to my post on this http://dreamingincrm.com/2015/05/25/leverage-actions-to-bundle-and-minify-form-scripts/