Regenerate metricsgraphics.js file