The midrash itself is contained in Yalkut Shimoni, and is mentioned by Naḥmanides as "Sefer Milchamot Benei Ya'akov".
The midrash is itself found in Yalkut Shimoni, and is referenced by Naḥmanides as "Book of Wars of the Children of Jacob".