Catalysis of the reaction: 3 malonyl-CoA + 4-coumaroyl-CoA = 4 CoA + 3,4',5-trihydroxy-stilbene + 4 CO2.