title: Updating javascript references after minifying during build process
body: <p>What are the best ways of updating javascript references after minifying them (I use YUI Compressor)?</p>
  
  <p>I am using ASP.NET mvc and have a bunch or javascript references in each file during dev. At build time (using MSBuild) I minify all the files into single file. At the same time I want to replace all the references with the single reference. This shoudl be quite a common thing and yet I can't find a nice clean automated way to do it.</p>
  
  <p>Anyone have any ideas? Thanks</p>