Fix grafana build

The ordering matter as a new grunt build may wipe the config.js. This
ensures that the config.js exists during the first run.