Fix dox task : make it work in a sequence of grunt tasks