The European Union needs to stand up to President Donald Trump and push through a digital tax on tech companies, France's finance minister said Thursday.

In an on-stage discussion with CNBC's Karen Tso at the Women's Forum Global Meeting in Paris, French Finance Minister Bruno Le Maire said EU countries must overcome their differences and agree to raise taxes on tech giants like Google, Facebook, Amazon and Apple.

A recent EU-wide effort to pass a 3 percent tax on the digital revenues of big internet companies failed amid concerns by countries including Ireland and Germany who fear retaliation from the U.S.

President Trump has previously lashed out at the EU for imposing regulations on U.S. companies, like the European Commission's $5 billion antitrust fine against Google in July.

"I hope that we will be able to face Donald Trump and I hope that we will remain strong and united to face the American administration," Le Maire said.

The French minister has been an outspoken advocate of the so-called digital tax, calling it unacceptable that tech companies do not pay what he sees as their fair share.

"I will be very simple and very clear," Le Maire said. "I cannot accept to have Google, Amazon or Facebook paying less taxes…Than my butcher or my bookshop."