Catalysis of the reaction: feruloylacetyl-CoA + 4-coumaryl-CoA + H2O = demethoxycurcumin + 2 coenzyme A + carbon dioxide