By default, SharePoint 2013 loads tons of javascript and some css. My custom solution adds some more javascript and css.
How can I link and minimize it (for example, standard grouping and minimization functions in asp.net 4.5)?
You can use the Visual Studio extension called Primary Web Sites . Lets you bind and minimize your JS and CSS. It also has many other great features.