build a case

build a case (against someone)

 and gather a case (against someone)
to put together the evidence needed to make a legal or disciplinary case against someone. The police easily built a case against the drunken driver. As soon as we gather the case against her, we can obtain a warrant to arrest her.
See also: build, case