The midrash itself is contained in Yalkut Shimoni, and is mentioned by Naḥmanides as "Sefer Milchamot Benei Ya'akov".
The content of the midrash can be discovered within Yalkut Shimoni, and it is also mentioned by Naḥmanides under the title "Book of Battles of the Descendants of Jacob".