Theraze, if you only knew 8 of the recipes, they were presumably the basic, useful ones (primary + primary = secondary, secondary + secondary = tertiary). The script has to use those 9 recipes in bulk, to get the raw materials for the more obscure recipes, so discovering them ahead of time does you absolutely no good.
Dragontrout, how many vials do you have? Unless you're talking about 50% of the required total or so, I would suggest not worrying about it too much - the process will be so much faster if you collect vials before finishing the quest. Just throw together whatever vials you have at random, for whatever slight benefit that might give - I would start by making about half of the possible quantity of each vial via Item Manager -> Creatable, then start combining them in the relay browser. The recipes where you combine two of the same color should be easier to track, and will definitely reduce the number of required vials on your next attempt.